﻿<html xmlns="http://www.w3.org/1999/xhtml">

<!-- Head -->
<head>

    <title><?=$site->name?> - 后台管理</title>
	<?php $this->load->view( 'common/header' ); ?>
</head>
<!-- /Head -->
<!-- Body -->
<body>
    <!-- Topbar -->
    <?php
    $this->load->view( 'common/topbar.php');
    ?>
    <!-- /Topbar -->
    <!-- Main Container -->
    <div class="main-container container-fluid">
        <!-- Page Container -->
        <div class="page-container">
            <!-- Page Sidebar -->
            <div class="page-sidebar" id="sidebar">

                <!-- Sidebar Menu -->
	            <?php
	            $this->load->view( 'common/sidebar' );
	            ?>
                <!-- /Sidebar Menu -->
            </div>
            <!-- /Page Sidebar -->
            <!-- Page Content -->
            <div class="page-content">
                <!-- Page Header -->
                <div class="page-header position-relative">
                    <div class="header-title">
                        <h1><?=@ $page_name;?></h1>
                    </div>
                    <!--Header Buttons-->
                    <div class="header-buttons">
                        <a class="sidebar-toggler" href="#">
                            <i class="fa fa-arrows-h"></i>
                        </a>
                        <a class="refresh" id="refresh-toggler" href="">
                            <i class="glyphicon glyphicon-refresh"></i>
                        </a>
                        <a class="fullscreen" id="fullscreen-toggler" href="#">
                            <i class="glyphicon glyphicon-fullscreen"></i>
                        </a>
                    </div>
                    <!--Header Buttons End-->
                </div>
                <!-- NOTICE-->
				<div id="error"></div>
				<!-- /NOTICE-->
                <!-- /Page Header -->
                <!-- Page Body -->
                <div class="page-body">
					<?php $this->load->view( $page ) ;?>
                </div>
                <!-- /Page Body -->
            </div>
            <!-- /Page Content -->
        </div>
        <!-- /Page Container -->
        <!-- Main Container -->

    </div>

<?php $this->load->view( 'common/footer' ); ?>
</body>
<!--  /Body -->
</html>
